<div class="ledgers view">
<h2><?php  echo __('Ledger');?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($ledger['Ledger']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Account'); ?></dt>
		<dd>
			<?php echo $this->Html->link($ledger['Account']['name'], array('controller' => 'accounts', 'action' => 'view', $ledger['Account']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Amount'); ?></dt>
		<dd>
			<?php echo h($ledger['Ledger']['amount']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Credit'); ?></dt>
		<dd>
			<?php echo h($ledger['Ledger']['credit']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Debit'); ?></dt>
		<dd>
			<?php echo h($ledger['Ledger']['debit']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Description'); ?></dt>
		<dd>
			<?php echo h($ledger['Ledger']['description']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Created'); ?></dt>
		<dd>
			<?php echo h($ledger['Ledger']['created']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Modified'); ?></dt>
		<dd>
			<?php echo h($ledger['Ledger']['modified']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Ledger'), array('action' => 'edit', $ledger['Ledger']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Ledger'), array('action' => 'delete', $ledger['Ledger']['id']), null, __('Are you sure you want to delete # %s?', $ledger['Ledger']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Ledgers'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ledger'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Accounts'), array('controller' => 'accounts', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Account'), array('controller' => 'accounts', 'action' => 'add')); ?> </li>
	</ul>
</div>
